package com.gskj.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author :CodingFarmer_码农  Connor(康纳)_郭
 * @date : 09:21 20.5.16
 * @Company : http://www.gskj.com
 * @Version : 1.0
 */

@Data
public class DataDemo {

    // 设置 excel的表头名称
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;
}
